package com.spider.polymorphsm3;

public class Wolf extends Animal {
    @Override
    public void run() {
        System.out.println("Wolf run so fast!");
    }
    //狼吃羊的方法
    public void eatSheep(Wolf w){
        System.out.println("狼吃羊");
    }
}
